package com.example.forum.constant;

/**
 * 消息常量
 */
public class MessageConstant {

    public static final String USER_NULL = "用户信息不能为空";
    public static final String USER_EXISTS = "用户已存在";
    public static final String USER_REGISTER_FAILED = "注册失败";
    public static final String USER_REGISTER_SUCCESS = "注册成功";
    public static final String PASSWORD_NOT_SAME = "两次输入的密码不一致";
    public static final String USER_PASSWORD_ERROR = "密码错误";
    public static final String USER_LOGIN_SUCCESS = "登录成功";
    public static final String USER_NOT_NULL = "用户不存在";
    public static final String USER_SESSION = "user";
    public static final String USER_NOT_PERMISSION = "没有权限";
    public static final String USER_LOGOUT_SUCCESS = "退出成功";
    public static final String USER_MUTED = "您已被禁言";
    public static final String ADD_FAILED = "新增失败";
    public static final String PARAMETER_VERIFICATION_FAILED = "参数校验失败";
    public static final String ARTICLE_NOT_EXISTS = "文章不存在";
    public static final String ARTICLE_DELETE_FAILED = "该文章已被删除";
    public static final String DELETE_FAILED = "删除失败";
    public static final String SERVER_ERROR = "服务器异常";
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String USER_NOT_EXISTS = "用户不存在";
    public static final String MESSAGE_SEND_FAILED = "发送失败";
    public static final String SEND_NOT_EXISTS = "发送者不存在";
    public static final String MESSAGE_NOT_EXISTS = "消息不存在";

}
